#include "InputEvent.h"

InputEvent::InputEvent(const ButtonType& buttonType, bool pressed)
  : QEvent(mType),
    mButtonType(buttonType),
    mButtonPressed(pressed)
{
}

const ButtonType& InputEvent::buttonType() const
{
  return mButtonType;
}

bool InputEvent::buttonPressed() const
{
  return mButtonPressed;
}
